/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfcshop.entity;

import com.easy.common.utils.excel.annotation.ExcelField;
import com.easy.core.persistence.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 厂家的活动直播Entity
 * @author waylen chi
 * @version 2018-01-11
 */
public class ActivityLive extends BaseEntity<ActivityLive> {
	
	private static final long serialVersionUID = 1L;
	private String id;		// UUID
	private Integer liveId;		// 直播ID，自增
	private Integer enrollId;		// 活动ID
	private String liveSubject;		// 直播主题
	private String liveDesc;		// 直播描述
	private String coverPlan;		// 直播封面
	private String liveUrl;		// 直播地址
	
	public ActivityLive() {
		super();
	}

	public ActivityLive(String id){
		this.id = id;
	}

	@NotNull(message="直播ID，自增不能为空")
	@ExcelField(title="直播ID，自增", align=2, sort=0)
	public Integer getLiveId() {
		return liveId;
	}

	public void setLiveId(Integer liveId) {
		this.liveId = liveId;
	}
	
	@ExcelField(title="活动ID", align=2, sort=1)
	public Integer getEnrollId() {
		return enrollId;
	}

	public void setEnrollId(Integer enrollId) {
		this.enrollId = enrollId;
	}
	
	@ExcelField(title="直播主题", align=2, sort=2)
	public String getLiveSubject() {
		return liveSubject;
	}

	public void setLiveSubject(String liveSubject) {
		this.liveSubject = liveSubject;
	}
	
	@ExcelField(title="直播描述", align=2, sort=3)
	public String getLiveDesc() {
		return liveDesc;
	}

	public void setLiveDesc(String liveDesc) {
		this.liveDesc = liveDesc;
	}
	
	@ExcelField(title="直播封面", align=2, sort=4)
	public String getCoverPlan() {
		return coverPlan;
	}

	public void setCoverPlan(String coverPlan) {
		this.coverPlan = coverPlan;
	}
	
	@ExcelField(title="直播地址", align=2, sort=5)
	public String getLiveUrl() {
		return liveUrl;
	}

	public void setLiveUrl(String liveUrl) {
		this.liveUrl = liveUrl;
	}
	
}